package com.quiz.bis.service;

import com.quiz.common.core.domain.R;
import com.quiz.common.core.domain.entity.SysUser;
import com.quiz.common.mybatis.core.page.PageQuery;
import com.quiz.common.mybatis.core.page.TableDataInfo;
import com.quiz.bis.domain.bo.ExamBo;
import com.quiz.bis.domain.vo.ExamDetailVo;
import com.quiz.bis.domain.vo.ExamVo;

import java.util.List;

public interface IExamService {
    TableDataInfo<ExamVo> pageExamList(PageQuery pageQuery, Long groupId, Integer type);

    ExamDetailVo getExamDetail(Long id);

    R<Long> createExam(ExamBo examBo);

    R<Void> updateExam(ExamBo examBo);

    R<Void> deleteExam(Long id);

    R<Void> updateStatusBatch(List<Long> ids, Integer status);

    TableDataInfo<SysUser> pageJoinExanStudentList(PageQuery pageQuery, String examId, String groupId);
}